//
//  WmcSelectMapAlertViewCell.swift
//  YPWatermarkCamera
//
//  Created by 周诗松 on 2022/5/26.
//

import UIKit

class WmcSelectMapAlertViewCell: WmcBaseTableCell {
    // Internal

    override func makeUI() {
        titleLabel.textAlignment = .center
        titleLabel.font = 16.wmc_font
        titleLabel.textColor = .wmc_grayH2_323233
        lineView.backgroundColor = .wmc_grayH19_F5F5F5
        
        addSubview(titleLabel)
        addSubview(lineView)
        
        titleLabel.snp.makeConstraints { make in
            make.left.right.top.bottom.equalToSuperview()
        }
        
        lineView.snp.makeConstraints { make in
            make.left.equalTo(17)
            make.right.equalTo(-17)
            make.height.equalTo(1)
            make.bottom.equalToSuperview()
        }
    }

    // Private
    
    func bindTitle(_ title: String) {
        titleLabel.text = title
    }
}
